using System;
using System.Data;
using System.Collections.Generic;
using System.ServiceModel;
using eTMS.DAO;
namespace eTMS.Services{
	/********************************BEGIN GiangVienLopTinChiService****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:25/02/2012 41:11:06</para>
	/// <para>Class Name: GiangVienLopTinChiService</para>
	/// <para>Description: </para>
	///</summary>

	
	public partial class GiangVienLopTinChiService : IGiangVienLopTinChiService{


		#region Select functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:25/02/2012 41:11:06</para>
		/// <para>Name: SelectOne</para>
		/// <para>Input: GiangVienLopTinChi_ID</para>
		/// <para>Output: GiangVienLopTinChiEntity</para>
		///</summary>
		public GiangVienLopTinChiEntity SelectOne(int GiangVienLopTinChi_ID){
			GiangVienLopTinChiDAO dao = new GiangVienLopTinChiDAO();
			return dao.SelectOne(GiangVienLopTinChi_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:25/02/2012 41:11:06</para>
		/// <para>Name: SelectAll</para>
		/// <para>Input: </para>
		/// <para>Output: List of GiangVienLopTinChiEntity</para>
		///</summary>
		public List<GiangVienLopTinChiEntity> SelectAll(){
			GiangVienLopTinChiDAO dao = new GiangVienLopTinChiDAO();
			return dao.SelectAll();
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:25/02/2012 41:11:06</para>
		/// <para>Name: SelectAllDS</para>
		/// <para>Input: </para>
		/// <para>Output: DataSet</para>
		///</summary>
		public DataSet SelectAllDS(){
			GiangVienLopTinChiDAO dao = new GiangVienLopTinChiDAO();
			return dao.SelectAllDS();
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:25/02/2012 41:11:06</para>
		/// <para>Name: SelectAll</para>
		/// <para>Input: </para>
		/// <para>Output: List of GiangVienLopTinChiEntity</para>
		///</summary>
		public List<GiangVienLopTinChiEntity> SelectAllFilter(string strFilter){
			GiangVienLopTinChiDAO dao = new GiangVienLopTinChiDAO();
			return dao.SelectAllFilter(strFilter);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:25/02/2012 41:11:06</para>
		/// <para>Name: SelectAllDS</para>
		/// <para>Input: </para>
		/// <para>Output: DataSet</para>
		///</summary>
		public DataSet SelectAllDSFilter(string strFilter){
			GiangVienLopTinChiDAO dao = new GiangVienLopTinChiDAO();
			return dao.SelectAllDSFilter(strFilter);
		}
		#endregion

		#region Insert functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:25/02/2012 41:11:06</para>
		/// <para>Name: Save</para>
		/// <para>Input: GiangVienLopTinChiEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool Save(GiangVienLopTinChiEntity o){
			GiangVienLopTinChiDAO dao = new GiangVienLopTinChiDAO();
			return dao.Save(o);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:25/02/2012 41:11:06</para>
		/// <para>Name: Save</para>
		/// <para>Input: GiangVienLopTinChiEntity</para>
		/// <para>Output: GiangVienLopTinChiEntity</para>
		///</summary>
		public GiangVienLopTinChiEntity SaveRet(GiangVienLopTinChiEntity o){
			GiangVienLopTinChiDAO dao = new GiangVienLopTinChiDAO();
			dao.Save(o);
			return o;
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:25/02/2012 41:11:06</para>
		/// <para>Name: SaveList</para>
		/// <para>Input: List of GiangVienLopTinChiEntity</para>
		/// <para>Output: </para>
		///</summary>
		public void SaveList(List<GiangVienLopTinChiEntity> list){
			GiangVienLopTinChiDAO dao = new GiangVienLopTinChiDAO();
			dao.SaveList(list);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:25/02/2012 41:11:06</para>
		/// <para>Name: SaveListRet</para>
		/// <para>Input: List of GiangVienLopTinChiEntity</para>
		/// <para>Output: List of GiangVienLopTinChiEntity</para>
		///</summary>
		public List<GiangVienLopTinChiEntity> SaveListRet(List<GiangVienLopTinChiEntity> list){
			this.SaveList(list);
			return list;
		}
		#endregion

		#region Update functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:25/02/2012 41:11:06</para>
		/// <para>Name: Update</para>
		/// <para>Input: GiangVienLopTinChiEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool Update(GiangVienLopTinChiEntity o){
			GiangVienLopTinChiDAO dao = new GiangVienLopTinChiDAO();
			return dao.Update(o);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:25/02/2012 41:11:06</para>
		/// <para>Name: UpdateList</para>
		/// <para>Input: List of GiangVienLopTinChiEntity</para>
		/// <para>Output: </para>
		///</summary>
		public void UpdateList(List<GiangVienLopTinChiEntity> list){
			GiangVienLopTinChiDAO dao = new GiangVienLopTinChiDAO();
			dao.UpdateList(list);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:25/02/2012 41:11:06</para>
		/// <para>Name: UpdateGiangVien_ID</para>
		/// <para>Input: NewGiangVien_ID,GiangVienLopTinChi_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateGiangVien_ID(int NewGiangVien_ID,int GiangVienLopTinChi_ID){
			GiangVienLopTinChiDAO dao = new GiangVienLopTinChiDAO();
			return dao.UpdateGiangVien_ID(NewGiangVien_ID,GiangVienLopTinChi_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:25/02/2012 41:11:06</para>
		/// <para>Name: UpdateLopTinChi_ID</para>
		/// <para>Input: NewLopTinChi_ID,GiangVienLopTinChi_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateLopTinChi_ID(int NewLopTinChi_ID,int GiangVienLopTinChi_ID){
			GiangVienLopTinChiDAO dao = new GiangVienLopTinChiDAO();
			return dao.UpdateLopTinChi_ID(NewLopTinChi_ID,GiangVienLopTinChi_ID);
		}
		#endregion

		#region Delete functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:25/02/2012 41:11:06</para>
		/// <para>Name: Delete</para>
		/// <para>Input: GiangVienLopTinChiEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool Delete(GiangVienLopTinChiEntity o){
			GiangVienLopTinChiDAO dao = new GiangVienLopTinChiDAO();
			return dao.Delete(o);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:25/02/2012 41:11:06</para>
		/// <para>Name: DeleteByID</para>
		/// <para>Input: GiangVienLopTinChi_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool DeleteByID(int GiangVienLopTinChi_ID){
			GiangVienLopTinChiDAO dao = new GiangVienLopTinChiDAO();
			return dao.DeleteByID(GiangVienLopTinChi_ID);
		}
		#endregion

		#region Select join to GiaoVienLopTinChi functions
		#endregion

		#region Select join to GiaoVien functions
		#endregion

		#region Select join to LopTinChi functions
		#endregion

		#region Select,delete by GiangVienLopTinChi_ID functions
		#endregion

		#region Select,delete by LopTinChi_ID functions
		#endregion
	}
	/*****************************************************************************************************/
	/**********************************END GiangVienLopTinChiWebServiceBase*****************************************/
	/*****************************************************************************************************/
}

